</section>


</div>
<div id="homeDetail" class="modal fade bs-modal-sm" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
        </div>
    </div>
</div>
<!--script-->
<!--<script src="${base!}/assets/plugins/modernizr.js"></script>-->
<script src="${base!}/assets/js/jquery.pjax.js"></script>
<script src="${base!}/assets/bootstrap/js/bootstrap.js"></script>
<script src="${base!}/assets/plugins/jquery.form.js"></script>
<script src="${base!}/assets/plugins/parsley.min.js"></script>
<script src="${base!}/assets/plugins/parsley.zh_cn.js"></script>
<script src="${base!}/assets/plugins/jquery.sortable.js"></script>
<script src="${base!}/assets/plugins/jquery.nestable.js"></script>
<!--<script src="${base!}/assets/plugins/icheck/icheck.js"></script>-->
<!--<script src="${base!}/assets/plugins/jquery.slimscroll.min.js"></script>-->
<!--<script src="${base!}/assets/plugins/jquery.easing.min.js"></script>-->
<!--<script src="${base!}/assets/plugins/appear/jquery.appear.js"></script>-->
<script src="${base!}/assets/plugins/jquery.placeholder.js"></script>
<script src="${base!}/assets/plugins/fastclick.js"></script>
<!--<script src="${base!}/assets/plugins/count-to/jquery.countTo.js"></script>-->
<script src="${base!}/assets/js/toast.js"></script>
<!--<script src="${base!}/assets/plugins/chosen/chosen.jquery.min.js"></script>-->
<script src="${base!}/assets/plugins/treetable/jquery.treetable.js"></script>
<script src="${base!}/assets/plugins/datatables/jquery.dataTables.js"></script>
<script src="${base!}/assets/plugins/datatables/dataTables.bootstrap.js"></script>
<script src="${base!}/assets/plugins/jstree/jstree.min.js"></script>
<!--<script src="${base!}/assets/plugins/switchery/switchery.js"></script>-->
<script src="${base!}/assets/plugins/stepy/jquery.stepy.js"></script>
<script src="${base!}/assets/plugins/stepy/jquery.validate.min.js"></script>
<!--<script src="${base!}/assets/plugins/icheck/icheck.js"></script>-->
<script src="${base!}/assets/plugins/chosen/chosen.jquery.min.js"></script>
<!--<script src="${base!}/assets/plugins/jquery.form.js"></script>-->
<script src="${base!}/assets/plugins/uploadifive/jquery.uploadifive.min.js"></script>
<script src="${base!}/assets/plugins/datepicker/bootstrap-datetimepicker.min.js"></script>
<script src="${base!}/assets/plugins/datepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<!--<script src="${base!}/assets/plugins/emoji/emoji.js"></script>-->
<!--<script src="${base!}/assets/plugins/sorttable/Sortable.min.js"></script>-->
<!--<script src="${base!}/assets/plugins/jquery.qrcode.min.js"></script>-->
<script src="${base!}/assets/plugins/jquery.sparkline.js"></script>
<!--<script src="${base!}/assets/plugins/x-editable/bootstrap-editable.js"></script>-->
<script src="${base!}/assets/plugins/moment.min.js"></script>
<script src="${base!}/assets/js/form.js"></script>
<script src="${base!}/assets/js/offscreen.js"></script>
<script src="${base!}/assets/js/main.js"></script>
<script src="${base!}/assets/js/page.js"></script>
<script src="${base!}/assets/js/date.js"></script>

<script type="text/javascript">
    var gallery_loader_timeout;
    function bindLeft(){
        $('.main-navigation a[data-pjax]').on('click',function(){
            $('.main-navigation a[data-pjax]').each(function(){
                $(this).parent().removeClass('active');
            });
            $(this).parent().addClass('active');
        });
    }
    $(document).ready(function () {
        if($.support.pjax) {
            $(document).pjax('a[data-pjax]', '#container', {maxCacheLength:20,push:true, replace:false,fragment: '#container', timeout: 30000});
            bindLeft();
            $('#topnav a[data-pjax]').on('click',function(){
//                $.get("/private/home/left?url="+$(this).attr("href"),function (data) {
//                    $("#leftnav").html(data);
//                    bindLeft();
//                }, "html");
            });
            $.get("/private/home/path?url="+window.location.href,function (data) {
                $("#leftnav").html(data);
                bindLeft();
            }, "html");
            $(document).on('pjax:send', function () { //pjax链接点击后显示加载动画；
                clearTimeout(gallery_loader_timeout)
                gallery_loader_timeout=setTimeout('$(".gallery-loader").show()',500 );
            });
            $(document).on('pjax:complete', function () { //pjax链接加载完成后隐藏加载动画；
                clearTimeout(gallery_loader_timeout);
                $(".gallery-loader").hide();
            });
        }
        try {
            $(".gallery-loader").hide();
        } catch (e) {
        }
        $('#homeDetail').on('hidden.bs.modal',function(){
            $(this).removeData("bs.modal");
        });
        $(".toggle-sidebar").click(function(){
            $(".o_img").toggleClass("o_hide");
        });
    });
</script>
</body>
</html>